import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class FansTableModalService {

  serviceUrls = {
    getFancsListUrl: '/customer/fansList' // 获取粉丝list
  }

  constructor(public httpClient: HttpClient) { }

  // 查询粉丝list
  getFansListData(params: any) {
    return this.httpClient.post(this.serviceUrls.getFancsListUrl, params).toPromise();
  }
}
